package com.lagou.edu.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author zhangjinshan
 * @version 1.0
 * @description
 * @date 2021/8/27 下午5:18
 */
@FeignClient(name = "lagou-service-user")
public interface UserClient {

    @GetMapping("/isRegistered/{email}")
    boolean isRegistered(@PathVariable(name = "email") String email);
}
